<?php


namespace App\Http\Controllers\Api;


use App\Http\Controllers\Api\Repositories\WxFeedbackRepositories;
use Illuminate\Http\Request;

class FeedbackController extends BaseController
{

    /**
     * 用户反馈
     * @param Request $request
     * @return \Illuminate\Http\JsonResponse
     */
    public function addFeedback(Request $request)
    {

        $uid = $request->uid;
        $feedback_type = $request->feedback_type;
        $feedback_content = $request->feedback_content;

        return $this->success(WxFeedbackRepositories::add($uid, $feedback_type, $feedback_content));
    }


}
